﻿capital = 266

set_politics = {
	ruling_party = neutrality
	last_election = "1936.1.1"
	election_frequency = 48
	elections_allowed = no
}
set_popularities = {
	fascism = 10
	neutrality = 75
	democratic = 7
	communism = 8
}

set_stability = 0.39
set_war_support = 0.06
set_research_slots = 3
add_command_power = 50
#add_manpower = 54380
set_convoys = 111

add_ideas = {

	political_shambles
	per_agrarian_society
	per_unwilling_populace
	per_anglo_iranian_oil_company
	
    #laws
	limited_conscription
}


# Starting tech
set_technology = {

	#infantry
	#support_weapons = 1
	infantry_weapons = 1
	infantry_weapons1 = 1
	motorised_infantry = 1

	#support
	tech_support = 1		
	tech_engineers = 1
	tech_military_police = 1
	basic_train = 1
	
	#artillery
	gw_artillery = 1
	#interwar_artillery = 1
	interwar_antiair = 1
	#interwar_antitank = 1

	#electronic
	#electronic_mechanical_engineering = 1
	#radio = 1
	#radio_detection = 1

	#indsutry
	synth_oil_experiments = 1
	fuel_silos = 1
	fuel_refining = 1

	#doctrine
	#fleet_in_being = 1
	superior_firepower = 1
	#formation_flying = 1
}

#army oob and la resistance stuff
if = {
	limit = {
		has_dlc = "La Resistance"
	}
	set_oob = "PER_1936_laresis"
#	set_technology = {
#		armored_car1 = 1
#		scout_plane1 = 1
#	}
	create_operative_leader = {
		name = "Mina Tariqat"
		GFX = GFX_portrait_nancy_wake
		traits = { operative_escape_artist operative_master_interrogator operative_commando operative_infiltrator }
		bypass_recruitment = no
		available_to_spy_master = yes
		female = yes
		nationalities = { PER TUR }
	}

	create_operative_leader = {
		name = "Diana M. Petrov"
		GFX = GFX_portrait_diana_rowden
		traits = { operative_double_agent operative_seducer operative_commando operative_infiltrator }
		bypass_recruitment = no
		available_to_spy_master = yes
		female = yes
		nationalities = { SOV PER }
	}

	create_operative_leader = {
		name = "Juan Pedram"
		GFX = GFX_portrait_juan_pujol
		traits = { operative_double_agent operative_seducer operative_commando operative_infiltrator }
		bypass_recruitment = no
		available_to_spy_master = yes
		nationalities = { ENG PER }
	}

	create_operative_leader = {
		name = "Andrew P. Behdjatnia"
		GFX = GFX_portrait_dusko_popov
		traits = { operative_double_agent operative_seducer operative_commando operative_infiltrator }
		bypass_recruitment = no
		available_to_spy_master = yes
		nationalities = { USA PER }
	}

	create_operative_leader = {
		name = "Behzad Lahoti"
		GFX = GFX_portrait_Maurice_Duhamel
		traits = { operative_double_agent operative_seducer operative_commando operative_infiltrator }
		bypass_recruitment = no
		available_to_spy_master = yes
		nationalities = { RAJ PER }
	}
}

if = {
	limit = { 
		NOT = {
			has_dlc = "La Resistance"
		}
	}

	set_oob = "PER_1936"
}

# NSB stuff
if = {
	limit = {
		NOT = {
			has_dlc = "No Step Back"
		}
	}
	set_technology = {
		gwtank = 1
		basic_light_tank = 1
		#improved_light_tank = 1
		#basic_heavy_tank = 1
	}
}
if = {
	limit = {
		
		has_dlc = "No Step Back"
		
	}
	set_technology = {
		gwtank_chassis = 1
		basic_light_tank_chassis = 1
		#improved_light_tank_chassis = 1
		#basic_heavy_tank_chassis = 1
		#basic_medium_tank_chassis = 1
		#engine_tech_1 = 1
		#engine_tech_2 = 1
		armor_tech_1 = 1
		#armor_tech_2 = 1
	}
}

# BBA Stuff
if = {
	limit = { has_dlc = "By Blood Alone" }
		set_air_oob = "PER_1936_air_bba"
		set_technology = {
			aa_lmg = 1
			engines_1 = 1
			engines_2 = 1
			early_bombs = 1
			aircraft_construction = 1
			survivability_studies = 1
			iw_small_airframe = 1
			iw_medium_airframe = 1
			#iw_large_airframe = 1
			basic_medium_airframe = 1
			basic_small_airframe = 1
		}
	else = {
		set_air_oob = "PER_1936_air_legacy"
		set_technology = {
			early_fighter = 1
			cv_early_fighter = 1
			CAS1 = 1
			early_bomber = 1
			heavy_fighter1 = 1
		}
	}
}

# MTG Stuff
if = {
	limit = {
		has_dlc = "Man the Guns"
	}

	set_technology = {
		early_ship_hull_light = 1
		basic_ship_hull_light = 1
		#smoke_generator = 1
		basic_depth_charges = 1
		#improved_depth_charges = 1
		sonar = 1
		#improved_sonar = 1
		early_ship_hull_cruiser = 1
		basic_ship_hull_cruiser = 1
		improved_airplane_launcher = 1
		basic_cruiser_armor_scheme = 1
		#early_ship_hull_heavy = 1
		#basic_ship_hull_heavy = 1
		#ship_hull_super_heavy = 1
		basic_heavy_armor_scheme = 1
		#early_ship_hull_carrier = 1
		#basic_ship_hull_carrier = 1
		#improved_ship_hull_carrier = 1
		basic_torpedo = 1
		#magnetic_detonator = 1
		improved_ship_torpedo_launcher = 1
		#advanced_ship_torpedo_launcher = 1
		early_ship_hull_submarine = 1
		basic_ship_hull_submarine = 1
		#improved_ship_hull_submarine = 1
		basic_battery = 1
		basic_light_battery = 1
		#improved_light_battery = 1
		#basic_light_shell = 1
		basic_medium_battery = 1
		#improved_medium_battery = 1
		#basic_medium_shell = 1
		#basic_heavy_battery = 1
		#improved_heavy_battery = 1
		#basic_heavy_shell = 1
		#basic_secondary_battery = 1
		#improved_secondary_battery = 1
		#dp_secondary_battery = 1
		#damage_control_1 = 1
		#fire_control_methods_1 = 1
		basic_naval_mines = 1
		submarine_mine_laying = 1
		mtg_transport = 1
		#basic_fire_control_system = 1
	}

	set_naval_oob = "PER_1936_Naval"

	#add_ideas = MTG_naval_treaty_adherent
}

recruit_character = PER_reza_shah_pahlavi
recruit_character = PER_mohammad_mosadeq
recruit_character = PER_mohammadali_forughi
recruit_character = PER_iraj_eskandari
recruit_character = PER_hasan_arfa
recruit_character = PER_arash_razmara
recruit_character = PER_Mahmoud_Afshartous
recruit_character = PER_ahmad_khan_nakhjavan
recruit_character = PER_reza_mizani
recruit_character = PER_ali_razmara
recruit_character = PER_hassan_majid_firooz
recruit_character = PER_ahmad_khosravani
recruit_character = PER_gholamali_bayandor
recruit_character = PER_mohammed_nayebi
recruit_character = PER_abdolreza_afkhami
recruit_character = PER_fazlollah_zahedi
recruit_character = PER_mohammed_reza_pahlavi
recruit_character = PER_ali_akbar_deiva
recruit_character = PER_hossein_afkhami
recruit_character = PER_ali_zohayli
recruit_character = PER_mahmud_jam
recruit_character = PER_ali_khan_mansour
recruit_character = PER_amanollah_jahanbani
recruit_character = PER_ahmad_soltani
recruit_character = PER_atabak_tabrizi
recruit_character = PER_sepehr_daneshmand
recruit_character = PER_ramin_mortazavi
recruit_character = PER_ariya_rostampour
recruit_character = PER_reza_tavankar
recruit_character = PER_kamran_musavi
recruit_character = PER_mehran_zerafat
recruit_character = PER_hooshang_kangani
recruit_character = PER_behrooz_shamshiri
recruit_character = PER_keyvan_golchin
recruit_character = PER_sardar_lorestani
recruit_character = PER_mahan_barmaki
recruit_character = PER_kusha_kamalvand
recruit_character = PER_farhad_amini
recruit_character = PER_behnam_rahimi
recruit_character = PER_mahmud_hesabi
recruit_character = PER_ahmad_matin_daftari
recruit_character = PER_mohsen_sadr
recruit_character = PER_hossein_ala
recruit_character = PER_Hassan_Taqizadeh
recruit_character = PER_jafar_pishevari
recruit_character = PER_abol_ghasem_kashani
recruit_character = PER_Mohammad_Hossein_Firooz
recruit_character = PER_mohammad_saed

1939.1.1 = {

	add_political_power = 1198
	
	#generic focuses
	complete_national_focus = army_effort
	complete_national_focus = equipment_effort
	complete_national_focus = motorization_effort
	complete_national_focus = aviation_effort
	complete_national_focus = naval_effort
	complete_national_focus = flexible_navy
	complete_national_focus = industrial_effort
	complete_national_focus = construction_effort
	complete_national_focus = production_effort
	
	oob = "PER_1939"
	set_technology = {
		tech_support = 1
		tech_recon = 1
		infantry_weapons2 = 1
		support_weapons = 1
		gw_artillery = 1
		interwar_antiair = 1
		interwar_artillery = 1
		gwtank = 1

		#doctrines
		air_superiority = 1
		mass_assault = 1
		pocket_defence = 1
		defence_in_depth = 1
		fleet_in_being = 1
		battlefleet_concentration = 1
		convoy_sailing = 1

		#electronics
		electronic_mechanical_engineering = 1
		radio = 1
		radio_detection = 1
		mechanical_computing = 1

		#industry
		basic_machine_tools = 1
		improved_machine_tools = 1
		advanced_machine_tools = 1
		fuel_silos = 1
		construction1 = 1
		construction2 = 1
		dispersed_industry = 1
		dispersed_industry2 = 1
	}
}

### Ship Variants ###

if = {
	limit = { has_dlc = "Man the Guns" }
	### Variants ###
	# Attack Submarine #
	create_equipment_variant = {
		name = "Nahang Class"
		type = ship_hull_submarine_2
		name_group = PER_SS_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_engine_slot = sub_ship_engine_2
			#front_1_custom_slot = ship_torpedo_sub_2
			#mid_1_custom_slot = ship_radar_1
			rear_1_custom_slot = ship_torpedo_sub_2
			fixed_ship_torpedo_slot = ship_torpedo_sub_2
		}
	}
	# Miner Submarine #
	create_equipment_variant = {
		name = "Yunes Class"
		type = ship_hull_submarine_2
		name_group = PER_SS_HISTORICAL
		parent_version = 0
		role_icon_index = 4
		modules = {
			fixed_ship_engine_slot = sub_ship_engine_2
			#front_1_custom_slot = ship_mine_layer_sub
			#mid_1_custom_slot = ship_radar_1
			rear_1_custom_slot = ship_mine_layer_sub
			fixed_ship_torpedo_slot = ship_torpedo_sub_2
		}
	}
	# Destroyers #
	create_equipment_variant = {
		name = "Dena Class"
		type = ship_hull_light_2
		name_group = PER_DD_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_light_battery_2
			fixed_ship_radar_slot = empty
			fixed_ship_anti_air_slot = ship_anti_air_2
			fixed_ship_fire_control_system_slot = ship_sonar_1
			fixed_ship_engine_slot = light_ship_engine_2
			fixed_ship_torpedo_slot = ship_torpedo_2
			mid_1_custom_slot = ship_light_battery_2
			rear_1_custom_slot = ship_depth_charge_1
		}
	}
	# Light Cruisers #
	create_equipment_variant = {
		name = "Sahand Class"
		type = ship_hull_cruiser_2
		name_group = PER_CL_HISTORICAL
		parent_version = 0
		role_icon_index = 2
		modules = {
			fixed_ship_battery_slot = ship_light_medium_battery_2
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_anti_air_slot = ship_anti_air_2
			fixed_ship_engine_slot = cruiser_ship_engine_2
			fixed_ship_secondaries_slot = ship_secondaries_2
			fixed_ship_armor_slot = ship_armor_cruiser_3
			front_1_custom_slot = ship_light_medium_battery_2
			mid_1_custom_slot = ship_torpedo_2
			mid_2_custom_slot = ship_airplane_launcher_2
			rear_1_custom_slot = ship_light_medium_battery_2
		}
	}
	# Heavy Cruisers #
	create_equipment_variant = {
		name = "Taftan Class"
		type = ship_hull_cruiser_2
		name_group = PER_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_medium_battery_2
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_anti_air_slot = ship_anti_air_2
			fixed_ship_engine_slot = cruiser_ship_engine_2
			fixed_ship_secondaries_slot = ship_secondaries_2
			fixed_ship_armor_slot = ship_armor_cruiser_3
			front_1_custom_slot = ship_medium_battery_2
			mid_1_custom_slot = ship_airplane_launcher_2
			mid_2_custom_slot = ship_anti_air_2
			rear_1_custom_slot = ship_medium_battery_2
		}
	}
	# Battlecruisers #
#	create_equipment_variant = {
#		name = "Sabalan Class"
#		type = ship_hull_heavy_2
#		name_group = PER_BC_HISTORICAL
#		parent_version = 0
#		modules = {
#			fixed_ship_anti_air_slot = ship_anti_air_2
#			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
#			fixed_ship_radar_slot = empty
#			fixed_ship_engine_slot = heavy_ship_engine_2
#			fixed_ship_secondaries_slot = ship_secondaries_2
#			fixed_ship_battery_slot = ship_heavy_battery_2
#			fixed_ship_armor_slot = ship_armor_bc_2
#			front_1_custom_slot = ship_heavy_battery_2
#			mid_1_custom_slot = ship_secondaries_2
#			mid_2_custom_slot = ship_anti_air_2
#			rear_1_custom_slot = ship_heavy_battery_2
#		}
#	}
	# Battleships #
#	create_equipment_variant = {
#		name = "Damavand Class"
#		type = ship_hull_super_heavy_1
#		name_group = PER_BB_HISTORICAL
#		parent_version = 0
#		modules = {
#			fixed_ship_anti_air_slot = ship_anti_air_2
#			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
#			fixed_ship_radar_slot = empty
#			fixed_ship_engine_slot = heavy_ship_engine_2
#			fixed_ship_secondaries_slot = ship_secondaries_2
#			fixed_ship_battery_slot = ship_super_heavy_battery_1
#			fixed_ship_armor_slot = ship_armor_shbb
#			front_1_custom_slot = ship_super_heavy_battery_1
#			front_2_custom_slot = ship_super_heavy_battery_1
#			mid_1_custom_slot = ship_secondaries_2
#			mid_2_custom_slot = ship_anti_air_2
#			mid_3_custom_slot = ship_secondaries_2
#			rear_1_custom_slot = ship_super_heavy_battery_1
#			rear_2_custom_slot = ship_super_heavy_battery_1
#		}
#	}
	# Carriers #
#	create_equipment_variant = {
#		name = "Nooh Class"
#		type = ship_hull_carrier_2
#		name_group = PER_CV_HISTORICAL
#		parent_version = 0
#		modules = {
#			fixed_ship_deck_slot_1 = ship_deck_space
#			fixed_ship_deck_slot_2 = ship_deck_space
#			fixed_ship_anti_air_slot = ship_anti_air_2
#			fixed_ship_radar_slot = empty
#			fixed_ship_engine_slot = carrier_ship_engine_2
#			fixed_ship_secondaries_slot = ship_secondaries_2
#			front_1_custom_slot = ship_deck_space
#			#mid_1_custom_slot=ship_deck_space
#		}
#	}
}

### Tank Variants ###

if = {
	limit = {
		has_dlc = "No Step Back"
	}
	#light tanks
	create_equipment_variant = {
		name = "Akhundak I" #light tank
		type = light_tank_chassis_1
		icon = "GFX_GER_light_ACC_camo"
		parent_version = 0
		modules = {
			main_armament_slot = tank_small_cannon
			turret_type_slot = tank_light_three_man_tank_turret
			suspension_type_slot = tank_torsion_bar_suspension
			armor_type_slot = tank_welded_armor
			engine_type_slot = tank_gasoline_engine
			special_type_slot_1 = sloped_armor
			special_type_slot_2 = empty
			special_type_slot_3 = empty
			special_type_slot_4 = empty
		}
		upgrades = {
			tank_nsb_engine_upgrade = 0
			tank_nsb_armor_upgrade = 0
		}
		
	}

	create_equipment_variant = {
		name = "Arash I" #light AA tank
		type = light_tank_aa_chassis_1
		icon = "GFX_GER_light_AA_tank_A"
		parent_version = 0
		modules = {
			main_armament_slot = tank_anti_air_cannon
			turret_type_slot = tank_light_three_man_tank_turret
			suspension_type_slot = tank_torsion_bar_suspension
			armor_type_slot = tank_welded_armor
			engine_type_slot = tank_gasoline_engine
			special_type_slot_1 = sloped_armor
			special_type_slot_2 = empty
			special_type_slot_3 = empty
			special_type_slot_4 = empty
		}
		upgrades = {
			tank_nsb_engine_upgrade = 0
			tank_nsb_armor_upgrade = 0
		}
	}
	
	#medium tanks
#	create_equipment_variant = {
#		name = "Shafaq I" #medium SPA tank
#		type = medium_tank_artillery_chassis_1
#		parent_version = 0
#		modules = {
#			main_armament_slot = tank_medium_howitzer
#			turret_type_slot = tank_medium_three_man_tank_turret
#			suspension_type_slot = tank_torsion_bar_suspension
#			armor_type_slot = tank_welded_armor
#			engine_type_slot = tank_gasoline_engine
#			special_type_slot_1 = sloped_armor
#			special_type_slot_2 = empty
#			special_type_slot_3 = empty
#			special_type_slot_4 = empty
#		}
#		upgrades = {
#			tank_nsb_engine_upgrade = 0
#			tank_nsb_armor_upgrade = 0
#		}
#	}
}

### plane Variants ###

if = {
	limit = {
		has_dlc = "By Blood Alone"
	}
	
	create_equipment_variant = {
		name = "R-5" 
		icon = "GFX_PER_fighter2_medium"
		type = small_plane_airframe_1
		modules = {
			fixed_main_weapon_slot = light_mg_4x
			fixed_auxiliary_weapon_slot_1 = light_mg_4x
			engine_type_slot = engine_2_1x
			special_type_slot_1 = lmg_defense_turret
			special_type_slot_2 = empty
		}
		
	}

	create_equipment_variant = {
		name = "R-55" 
		icon = "GFX_PER_CAS2_medium"
		type = small_plane_cas_airframe_1
		modules = {
			fixed_main_weapon_slot = bomb_locks
			fixed_auxiliary_weapon_slot_1 = rocket_rails
			engine_type_slot = engine_2_1x
			special_type_slot_1 = dive_brakes_small
			special_type_slot_2 = empty
		}
		
	}
	
	create_equipment_variant = {
		name = "R-110" 
		icon = "GFX_PER_heavy_fighter2_medium"
		type = medium_plane_airframe_1
		modules = {
			fixed_main_weapon_slot = medium_bomb_bay
			fixed_auxiliary_weapon_slot_1 = empty
			fixed_auxiliary_weapon_slot_2 = empty
			fixed_auxiliary_weapon_slot_3 = empty
			engine_type_slot = engine_2_3x
			special_type_slot_1 = self_sealing_fuel_tanks_medium
			special_type_slot_2 = empty
			special_type_slot_3 = empty
			special_type_slot_4 = empty
		}
	}
}